package com.hangxintong.common.feign;


import com.hangxintong.common.base.dto.ActivitySignUserProcessDTO;
import com.hangxintong.common.config.FeignConfiguration;
import com.hangxintong.common.utils.Result;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author mxf
 * @date 2021/2/3 16:28
 */
@FeignClient(value = "hxt-process", configuration = FeignConfiguration.class)
public interface ProcessFeign {
    /**
     * 查询活动下的评审流程
     *
     * @param activityId
     * @return
     * @author mxf 2021-02-03
     */
    @GetMapping("/process/processGroup/list/{proInfoId}")
    Result listProcessGroup(@ApiParam(value = "活动id", example = "6") @PathVariable("proInfoId") Long activityId);
    /**
     * 报名复制审核节点
     *
     * @param activitySignUserProcessDTO
     * @author mxf 2021-02-03
     */
    @PostMapping("/process/processNode/sign/")
    @ApiOperation(value = "报名复制审核节点", notes = "报名复制审核节点", produces = "mxf")
    Result signCheckNode(@ApiParam(name = "activitySignUserDTO", value = "报名对象", example = "") @RequestBody ActivitySignUserProcessDTO activitySignUserProcessDTO);


}
